import request from '@/utils/request'

// 查询就业管理列表
export function listEmployment(query) {
  return request({
    url: '/student/employment/list',
    method: 'get',
    params: query
  })
}

// 查询就业管理详细
export function getEmployment(id) {
  return request({
    url: '/student/employment/' + id,
    method: 'get'
  })
}

// 新增就业管理
export function addEmployment(data) {
  return request({
    url: '/student/employment',
    method: 'post',
    data: data
  })
}

// 修改就业管理
export function updateEmployment(data) {
  return request({
    url: '/student/employment',
    method: 'put',
    data: data
  })
}

// 删除就业管理
export function delEmployment(id) {
  return request({
    url: '/student/employment/' + id,
    method: 'delete'
  })
}

// 导出就业管理
export function exportEmployment(query) {
  return request({
    url: '/student/employment/export',
    method: 'get',
    params: query
  })
}